<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form action="/user/login_post" method="post">
        {% csrf_token %}
        <label>用户名：</label>
        <input type="text" id="user_name" name="user_name" required>
        <br>
        <label>密码：</label>
        <input type="password" id="pwd" name="pwd" required>
        <input type="submit" value="登录">
    </form>
    <td>{{d}}</td>
</body>
</html>